<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<div align="center">
   <table class="main">
      <tr align="left"><td valign="top">
         <div id="location"><img src="<%=basePath %>images/c4.jpg"/>&nbsp;&nbsp;当前位置：&nbsp;论文提交</div>
         <div id="content">
            <form method="post" enctype="multipart/form-data">
            <c:if test="${project==null }">没有您的最终选题信息！</c:if>
            <c:if test="${project!=null }">
                                                 题目：${project.name }<br /><br />
              <c:if test="${available=='none' }">
                                                         现在不是文档上传时间！<br /><br />
              </c:if>
              
              <c:if test="${available=='middle' }">
                                                          上传状态：可提交中期文档<br /><br />
                 <c:if test="${project.commitmentsPath==null}">
                                                                    您还未提交中期文档！<br /><br />
                 </c:if>
                  <c:if test="${project.commitmentsPath!=null }">
                                                                    您已提交中期文档！<br /><br />
                 </c:if>
                 <input type="file" id="file" name="file" required><br /><br />
                 <input type="button" class="btn" value="确认提交" id="middle">
              </c:if>
              
              <c:if test="${available=='final' }">
                                                          上传状态：可提交最终文档<br /><br />
                 <c:if test="${project.essayPath==null }">
                                                                    您还未提交最终文档！<br /><br />
                 </c:if>
                  <c:if test="${project.essayPath!=null }">
                                                                    您已提交最终文档！<br /><br />
                 </c:if>
                 <input type="file" id="file" name="file" required><br /><br />
                 <input type="button" class="btn" value="确认提交" id="final" ><br /><br />
              </c:if>
            </c:if>
     
         </form>
         </div>
      </td></tr>
   </table>
</div>

